﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OTPlus.Core.Storage
{
    /// <summary>
    /// Represents a user and when the last time their data was accessed and placed into the ActivityFetchCache.
    /// </summary>
    public class ActivityFetchCacheItem
    {
        internal ActivityFetchCacheItem(String userid, DateTime lastChecked, Int32 relevantRecordCount)
        {
            this.UserID = userid; this.LastChecked = lastChecked; this.RelevantRecordCount = relevantRecordCount;
        }

        public ActivityFetchCacheItem()
        { }

        public String UserID {get;set;}
        public DateTime LastChecked { get; set; }
        public Int32 RelevantRecordCount { get; set; }
    }
}